package com.bjc.platform.service;

import java.util.List;
import java.util.Map;

import com.bjc.platform.model.AdmDepartmentType;

public interface IAdmDepartmentTypeService {

      /**
       * 根据
     * @param id
     * @return
     */
    List<AdmDepartmentType> query(String code);
    
    /** 查询指定公司的生产部类型
     * @param companyCode
     * @return
     */
    List<AdmDepartmentType> queryManufacture(String companyCode);
    
    AdmDepartmentType queryOne(Integer id);
    
    /**
     * 查询当前用户的所有组织
     * @return
     */
    List<Map<String, Object>> queryDep(String company_code);
}
